Reference
Glossary of values and codes
Outcome
| Value | Meaning |
|---|---|
| Passed | All rules pass (or there are no rules and execution succeeded). |
| Failed | At least one rule failed and none is blocked. |
| Blocked | Could not be evaluated / prerequisite failed: unfilled variable, invalid path, setup failed, "Block the remaining cases", extract not found (Block Dependants). |
| Skipped | The case is disabled. |
Collection & run status
| Value | Meaning |
|---|---|
| Draft / Published / Archived | Collection status (list filter). Draft changes freely; Published is version-numbered. |
| Run status | Among others running, finished, cancelled, ABORTED (cancelled by the system; shows an error message) and "Runner lost". |
Frequent error codes
| Code | Cause & action |
|---|---|
VERSION_CONFLICT | The draft was changed by someone/an agent else. Choose Reload Latest Draft, then Reapply My Edits. |
SECRET_MISSING / SECRET_STORE_UNAVAILABLE | The referenced secret is not in the vault / the vault is unreachable. |
ENVIRONMENT_NAME_TAKEN, ENVIRONMENT_REFERENCED, ENVIRONMENT_PROTOCOL_LOCKED, ENVIRONMENT_VALUE_IN_USE | Duplicate name; still referenced; protocol locked; env variable still used. |
SOURCE_COMMAND_IN_USE, SOURCE_FILE_UNAVAILABLE, EXTRACTION_KIND_UNSUPPORTED | Command still used by a dataset; source file missing; file type cannot be extracted. |
COMPARE_NOTHING_TO_COMPARE, COMPARE_SHAPE_MISMATCH | Compare has no readable side; data shape (array vs single) does not match the mapping. |
DATASET_ROW_COUNT_MISMATCH | Datasets bound to one case have different row counts. Make the row counts equal, then bind again. |
IMPORT_REFERENCE_UNRESOLVED | Copy to collection or import found a reference (for example a collection-wide dataset) that the target does not have. Map it to a dataset of the target collection that is available to all cases, then retry. |
DEFAULT_ENV_IN_USE | You tried to remove a default environment that an enabled case still follows. Pin the environment on those cases first. |
RUN_CANCELLED | The case was skipped because the run was cancelled before it started. |
VALIDATION_FAILED | A request was refused, often because of a missing permission or an invalid value. The message names the reason. |
Permissions
Access is controlled per project under the feature API Test. If you lack a permission the matching button or tab is hidden or disabled, or the page says "You do not have permission to …". These are the permission names used by the application.
| Area | Permissions | What they gate |
|---|---|---|
| Collections | Build Collection · View Collection · Update Collection · Delete Collection · Publish Collection · Export Collection | Create (New API Test Collection), open and edit, delete, Publish, export a version. |
| Test cases | Build Test Case · View Test Case · Update Test Case · Delete Test Case · Export Test Case | Add Case / Import Case / Duplicate / Copy, see and edit cases, delete, Export case. |
| Datasets | Build Dataset · View Dataset · Update Dataset · Delete Dataset | The Datasets tab, retrieving from an external source, rename, delete, "Make available to all". |
| Generated tests | Generate Test · Discard Generation | The Generated tab and its Add / Discard actions. |
| Runs | Run Test · View Run · Cancel Run | Run tabs and Start run; History and results; Cancel run. |
| Environments | Build Environment · View Environment · Update Environment · Delete Environment | The Environments section and forms. |
| External sources | Build External Source · View External Source · Update External Source · Delete External Source · Test Connection | The External sources section, editor, and the Test connection button. |
| Secrets | Build Secret · View Secret · Update Secret · Delete Secret | The Secrets section: Add secret, Replace, Delete. |
| General | View API Test | General access to the API Test feature. |
Permission messages you may see
| Message | Missing permission |
|---|---|
| You do not have permission to build collections. | Build Collection |
| You do not have permission to update this collection. | Update Collection |
| You do not have permission to view test cases. / edit this test case. | View / Update Test Case |
| You do not have permission to view datasets. | View Dataset |
| You do not have permission to view generated tests. | Generate Test |
| You do not have permission to view run history. / view this run. | View Run |
| You do not have permission to view / manage Environments, External sources or Secrets. | View or Update on the matching feature |
| Export button tooltip: "You do not have the Export Test Case permission." | Export Test Case |
Messages and field hints
Short explanations of messages and fields you may meet. Fields that belong to one screen are explained on that screen's page.
| Where | Text | Meaning |
|---|---|---|
| HTTP step (Setup/Teardown) · Authentication | Username, Password secret, Token secret, Key secret, Client secret | Secret fields are chosen from your vault ("This stored reference is not in your vault. It will be preserved." if the name is missing). |
| HTTP step · Extract into Variables | Sensitive value / Visible value | Whether the stored value is masked in results. |
| Import / Export step | From Caller → local variable · From This Collection → To Caller (Remove mapping) | Moves values across the nested-collection boundary. Export step: "To Caller"; import step: "To This Collection". |
| RUN_SQL step | Select a Database external source · Select a saved SQL · Set the variable to null | "Saves the first column of the first row. SQL NULL is saved as null, so an is empty check passes on it." If no row: block the case or set the variable to null. |
| Assertions | Assertions from definition: "The definition suggests no assertions for this response." | The From definition suggestions panel; shown when the definition has nothing to suggest for the response. |
| Capture preview | "Run Try captures to preview" | Click Try captures on sample to see what each capture would read. |
| Capture where-pattern | one ( ), e.g. RQ=([A-Z0-9]+) | A regex with exactly one capturing group. |
| External source editor | "Absolute folder containing the logs, for example /apps/logs." · "Optional known_hosts line. Pin this when using password authentication." · "Empty uses the default for this database type." · "At least one saved command / saved SQL is required." | Field help and validation messages. A database source also asks for "Database or schema name". |
| Datasets tab | "Create an SSH External Source before retrieving documents." · "Enter a new name different from the current name." | Prerequisite and validation messages. |
| Variables tab | "Declared and set on Environment · not here" · "Declared below · shared in this collection occurrence" · "Your personal vault · resolved at run time" · "Case-local · written by that case's setup or Extract" | The four reference sources for {{env.x}}, {{run.x}}, {{secret.x}} and {{x}}. |
| Environment form | "Protocol is locked." · "The server rejected this value." | The protocol cannot change once the environment is used; a field the server refused is flagged with this message. |